<template>
	<div class="app">
		<h1>App组件</h1>
		<Person 
			:mingzi="name"
			:nianling="age" 
			:xingbie="gender" 
			school="尚硅谷" 
			:hobby="hobby"
		/>
	</div>
</template>

<script>
	import Person from './components/Person'

	export default {
		name:'App',
		components:{Person},
		data() {
			return {
				name:'张三',
				age:18,
				gender:'男',
				hobby:['抽烟','喝酒','打麻将']
			}
		},
	}
</script>

<style>
	.app{
		background-color: gray;
		padding: 30px;
	}
</style>